package com.cc.visitor.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author chanchaw
 * @create 2025-01-18 15:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JsapiTicket implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private String wxmp;
    private String category;
    private Integer errcode;
    private String errmsg;
    private String ticket;
    @Column("expires_in")
    private Integer expires_in;
}
